home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20041116-20060924 / 000086_fdc@columbia.edu_Tue Apr 19 18:14:24 2005.msg < prev    next >
Internet Message Format  |  2006-09-27  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: calling kermit script through JSP page
  5. Date: 14 Apr 2005 13:20:19 GMT
  6. Organization: Columbia University
  7. Lines: 22
  8. Message-ID: <slrnd5srgj.prb.fdc@sesame.cc.columbia.edu>
  9. References: <1113465443.874463.62130@l41g2000cwc.googlegroups.com> <1113479713.511365.146780@l41g2000cwc.googlegroups.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1113484819 6097 128.59.59.56 (14 Apr 2005 13:20:19 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 14 Apr 2005 13:20:19 GMT
  15. User-Agent: slrn/0.9.8.0 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15322
  17.  
  18. On 2005-04-14, vikrant.shahir@gmail.com <vikrant.shahir@gmail.com> wrote:
  19. : Well i got the solution for the above problem
  20. : the solution was :
  21. : "set line /dev/ttyS0" ...was not working because the jsp page was not
  22. : having permissions to LOCK the /ttyS0 (i.e. comm1)port.
  23. : i.e. the file /var/lock was not having sufficient permissions.
  24. :
  25. This is documented in the manual, and also here:
  26.  
  27.   http://www.columbia.edu/kermit/ckuins.html#x10
  28.  
  29. (Sections 10 and 11).
  30.  
  31. Also, as noted in the script-writing tutorial:
  32.  
  33.   http://www.columbia.edu/kermit/ckscripts.html
  34.  
  35. any command that can fail should be followed by an IF FAIL command that
  36. catches the failure, so that the script does not continue executing as
  37. if the failed command had succeeded.
  38.  
  39. - Frank